﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="incidencias.aspx.cs" Inherits="incidencias" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.GridControls" tagprefix="ig" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server"> 
    <form id="empleado" runat="server">
 <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>

     <asp:HiddenField ID="HiddenField1" runat="server" />

     <table>    
        <tr class="td2">
        <td>
      
      <ul class="tabs">
        <li><a href="#tab1">Datos Personales</a></li>
        <li><a href="#tab2">Ausencias</a></li>
        <li><a href="#tab3">Retardos</a></li>
        <li><a href="#tab4">Incapacidades</a></li>
        <li><a href="#tab5">Bajas</a></li>        
        <li><a href="#tab6">Vacaciones</a></li>  
        <li><a href="#tab7">Materiales en custodia</a></li>  
        <li><a href="#tab8">Movimientos Salariales</a></li>  
        <li><a href="#tab9">Movimientos de Puesto</a></li>  
        <li><a href="#tab10">Capacitacion</a></li>  
        <li><a href="#tab11">Reconocimientos</a></li>  
        <li><a href="#tab12">Expediente</a></li>  


              
      </ul>
       <div class="tab_container">
     <div id="tab1" class="tab_content">
     <table>

             <tr>
            <td class="col-width" colspan="3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="col-width" colspan="3" align="center">
                <asp:Image ID="Image1" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
            </td>
            <td colspan="4" rowspan="4">
                <table style="width: 100%">
                    <tr>
                        <td>
                            No. Empleado</td>
                        <td>
                            <asp:TextBox ID="txtNumEmp" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPaterno" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMaterno" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            Fecha Nacimiento</td>
                        <td>
                            <asp:TextBox ID="txtFechaNacimiento" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            sexo</td>
                        <td>
                            <asp:TextBox ID="txtSexo" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            IMSS</td>
                        <td>
                            <asp:TextBox ID="txtImss" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            CURP</td>
                        <td>
                            <asp:TextBox ID="txtCurp" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            RFC</td>
                        <td>
                            <asp:TextBox ID="txtRFC" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            Contratado</td>
                        <td>
                            <asp:TextBox ID="txtContratado" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Seniority Date</td>
                        <td>
                            <asp:TextBox ID="txtSeniorDate" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Planta</td>
                        <td>

                            <asp:TextBox ID="txtPlanta" runat="server"></asp:TextBox>

                        </td>
                        <td>
                            Planta Efectiva</td>
                        <td>
                            <asp:TextBox ID="txtPlantaEfectiva" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Departamento efectivo</td>
                        <td>
                            <asp:TextBox ID="txtDepartamento" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Supervisor</td>
                        <td>
                            <asp:TextBox ID="txtSupervisor" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Departamento</td>
                        <td>
                            <asp:TextBox ID="txtDepto" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Localización</td>
                        <td>
                            <asp:TextBox ID="txtLocalizacion" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Labor</td>
                        <td>
                            <asp:TextBox ID="txtLabor" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Salario/hora</td>
                        <td>
                            <asp:TextBox ID="txtSalarioHora" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Salario Mensual</td>
                        <td>
                            <asp:TextBox ID="txtSalarioMensual" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Razon para salario</td>
                        <td>
                            <asp:TextBox ID="txtRazonSalario" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Horas/semana</td>
                        <td>
                            <asp:TextBox ID="txtHoraSemana" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Salario Efectivo</td>
                        <td>
                            <asp:TextBox ID="txtSalarioEfectivo" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Código Grupo trabajo</td>
                        <td>
                            <asp:TextBox ID="txtCodigoTrabajo" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Código estación trabajo</td>
                        <td>
                            <asp:TextBox ID="txtCodigoEstacionTra" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Salario
                        </td>
                        <td>
                            <asp:TextBox ID="txtSalario" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Código departamento</td>
                        <td>
                            <asp:TextBox ID="txtCodigoDepto" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Payroll Number</td>
                        <td>
                            <asp:TextBox ID="txtPayrollNumber" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Código proyecto</td>
                        <td>
                            <asp:TextBox ID="txtCodigoProyecto" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Turno</td>
                        <td>
                            <asp:TextBox ID="txtTurno" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Job position code</td>
                        <td>
                            <asp:TextBox ID="txtJobPosition" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Job position code efectivo</td>
                        <td>
                            <asp:TextBox ID="txtJobPosCodEfe" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            Dirección 1</td>
                        <td>
                            <asp:TextBox ID="txtDireccion1" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Dirección 2</td>
                        <td>
                            <asp:TextBox ID="txtDireccion2" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Dirección 3</td>
                        <td>
                            <asp:TextBox ID="txtDireccion3" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Ciudad</td>
                        <td>
                            <asp:TextBox ID="txtCiudad" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Estado</td>
                        <td>
                            <asp:TextBox ID="txtEstado" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            CP</td>
                        <td>
                            <asp:TextBox ID="txtCP" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            País</td>
                        <td>
                            <asp:TextBox ID="txtPais" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            Teléfono casa</td>
                        <td>
                            <asp:TextBox ID="txtTelefonoCasa" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Teléfono</td>
                        <td>
                            <asp:TextBox ID="txtTelefono" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            E-mail</td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Estado Empleado</td>
                        <td>
                      <asp:DropDownList ID="EstadoEmpleado" runat="server" Enabled="true">
                        </asp:DropDownList>

                           </td>
                        <td>
                            <asp:Button ID="btnActualizar" runat="server" onclick="btnActualizar_Click" 
                                Text="Actualiza Empleado" />
                        </td>
                        <td>
                            <asp:Button ID="Button12" runat="server" CssClass="blackButton2" 
                                Text="Limpiar Pantalla" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            
                            <asp:Label ID="lblMensaje" runat="server" Text="" Font-Bold="True" 
                                ForeColor="Red"></asp:Label>
                            
                        </td>

                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="col-width" colspan="3">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="col-width" colspan="3">
                &nbsp;</td>
        </tr>

     </table>

     </div>
     <div id="tab2" class="tab_content">
                         <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                 <img="" src="images/icons/user.png"></img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Ausencias</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp1" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;Desde:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoAusIni" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="ReAno" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoAusIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender14" runat="server" TargetControlID="ReAno" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesAusIni" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="ReMes" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesAusIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender15" runat="server" TargetControlID="ReMes" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaAusIni" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="ReDia" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaAusIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender16" runat="server" TargetControlID="ReDia" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Hasta:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoAusFin" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoAusFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RegularExpressionValidator1" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesAusFin" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesAusFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RegularExpressionValidator2" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaAusFin" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaAusFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RegularExpressionValidator3" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Dias</td>
                            <td>
                                <asp:TextBox ID="txtDias" runat="server" ReadOnly="True"></asp:TextBox>                                
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Razón:</td>
                            <td>
                                <asp:DropDownList ID="ddRazon" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Comentarios</td>
                            <td>
                                <asp:TextBox ID="txtComentarioAusencia" runat="server" Rows="6" TextMode="MultiLine" 
                                    Width="265px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                <asp:Button ID="btnRegAusencias" runat="server" style="text-align: right" 
                                    Text="Registrar" onclick="btnRegAusencias_Click"  />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminarAus" runat="server" Text="Eliminar" 
                                    onclick="btnEliminarAus_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField2" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdAusencia" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="Desde" 
                             HeaderText="Desde"
                             SortExpression="Desde" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Hasta" 
                             HeaderText="Hasta"
                             SortExpression="Hasta" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Dias" 
                             HeaderText="Dias"
                             SortExpression="Dias" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripcion"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Comentario" 
                             HeaderText="Comentario"
                             SortExpression="Comentario" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>

                    </table>


     </div>

    <div id="tab3" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                Retardos</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp2" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;Día del evento</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoRet" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoRet" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" TargetControlID="RegularExpressionValidator4" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesRet" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesRet" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" TargetControlID="RegularExpressionValidator5" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaRet" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaRet" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="RegularExpressionValidator6" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Minutos</td>
                            <td>
                                <asp:TextBox ID="txtMinutosRetardo" runat="server"></asp:TextBox>                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Comentarios</td>
                            <td>
                                <asp:TextBox ID="txtComentariosRetardos" runat="server" Rows="6" TextMode="MultiLine" 
                                    Width="265px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegRetardos" runat="server" style="text-align: right" 
                                    Text="Regrista" onclick="btnRegRetardos_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminarRet" runat="server" Text="Eliminar" 
                                    onclick="btnEliminarRet_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField3" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos1" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdRetardo" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos1_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="Dia" 
                             HeaderText="Dia"
                             SortExpression="Dia" 
                             ControlStyle-Width="100px" >
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Minutos" 
                             HeaderText="Minutos"
                             SortExpression="Minutos" 
                             ControlStyle-Width="100px" >
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Comentarios" 
                             HeaderText="Comentarios"
                             SortExpression="Comentarios" 
                             ControlStyle-Width="100px" >
                            </asp:BoundField>

                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
    </div>
    <div id="tab4" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td>
                            <td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Incapacidades</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp3" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;Desde:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoIncaIni" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoIncaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" TargetControlID="RegularExpressionValidator7" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesIncaIni" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesIncaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server" TargetControlID="RegularExpressionValidator8" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaIncaIni" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaIncaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" TargetControlID="RegularExpressionValidator9" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;Hasta:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoIncaFin" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoIncaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender10" runat="server" TargetControlID="RegularExpressionValidator10" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesIncaFin" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator11" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesIncaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender11" runat="server" TargetControlID="RegularExpressionValidator11" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaIncaFin" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator12" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaIncaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender12" runat="server" TargetControlID="RegularExpressionValidator12" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Dias</td>
                            <td>
                                <asp:TextBox ID="txtDiasIncapacidad" runat="server" ReadOnly="True"></asp:TextBox>                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Tipo</td>
                            <td>
                                &nbsp;<asp:DropDownList ID="ddTipo" 
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Caso</td>
                            <td>
                                &nbsp;<asp:DropDownList ID="ddCaso" 
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Referencia</td>
                            <td>
                                <asp:TextBox ID="txtReferencia" runat="server"></asp:TextBox>                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
<%--                            <td>
                                Secuencia</td>
                            <td>
                                <asp:TextBox ID="txtSecuencia" runat="server"></asp:TextBox>
                            </td>--%>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Comentarios</td>
                            <td>
                                <asp:TextBox ID="txtComentariosIncapacida" runat="server" Rows="6" TextMode="MultiLine" 
                                    Width="265px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraInca" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraInca_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminarInca" runat="server" Text="Eliminar" 
                                    onclick="btnEliminarInca_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField4" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos2" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdIncapacidad" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos2_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="PeriodoInicial" 
                             HeaderText="Desde"
                             SortExpression="PeriodoInicial" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="PeriodoFinal" 
                             HeaderText="Hasta"
                             SortExpression="PeriodoFinal" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Dias" 
                             HeaderText="Dias"
                             SortExpression="Dias" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Tipo" 
                             HeaderText="Tipo"
                             SortExpression="Tipo" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Caso" 
                             HeaderText="Caso"
                             SortExpression="Caso" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Referencia" 
                             HeaderText="Referencia"
                             SortExpression="Referencia" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="SecuenciaIncapacidad" 
                             HeaderText="Secuencia"
                             SortExpression="SecuenciaIncapacidad" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Comentarios" 
                             HeaderText="Comentarios"
                             SortExpression="Comentarios" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>

                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
    </div>
    <div id="tab5" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Bajas</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp4" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha de baja:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoBajaIni" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator13" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoBajaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" TargetControlID="RegularExpressionValidator13" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesBajaIni" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator14" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesBajaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender17" runat="server" TargetControlID="RegularExpressionValidator14" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaBajaIni" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator15" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaBajaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender18" runat="server" TargetControlID="RegularExpressionValidator15" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                último día trabajado</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoBajaFin" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator16" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoBajaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender19" runat="server" TargetControlID="RegularExpressionValidator16" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesBajaFin" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator17" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesBajaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender20" runat="server" TargetControlID="RegularExpressionValidator17" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaBajaFin" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator18" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaBajaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender21" runat="server" TargetControlID="RegularExpressionValidator18" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Causa de baja</td>
                            <td>
                                &nbsp;<asp:DropDownList ID="ddCausaBaja" 
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Comentarios</td>
                            <td>
                                <asp:TextBox ID="txtComentarioBaja" runat="server" Rows="6" TextMode="MultiLine" 
                                    Width="265px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraBaja" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraBaja_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminarBaja" runat="server" Text="Eliminar" 
                                    onclick="btnEliminarBaja_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField5" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos3" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdBajaEmpleado" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos3_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;">
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripcion"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="FechaBaja" 
                             HeaderText="Fecha de Baja"
                             SortExpression="FechaBaja" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="UltimoDiaTrabajo" 
                             HeaderText="Ultimo dia de trabajo"
                             SortExpression="UltimoDiaTrabajo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Comentarios" 
                             HeaderText="Comentarios"
                             SortExpression="Comentarios" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>


                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
    </div>

    <div id="tab6" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Vacaciones</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp5" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha de inicial:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoVacaIni" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator19" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoVacaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender22" runat="server" TargetControlID="RegularExpressionValidator19" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesVacaIni" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator20" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesVacaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender23" runat="server" TargetControlID="RegularExpressionValidator20" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaVacaIni" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator21" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaVacaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender24" runat="server" TargetControlID="RegularExpressionValidator21" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha Final</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoVacaFin" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator22" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoVacaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender25" runat="server" TargetControlID="RegularExpressionValidator22" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesVacaFin" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator23" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesVacaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender26" runat="server" TargetControlID="RegularExpressionValidator23" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaVacaFin" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator24" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaVacaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender27" runat="server" TargetControlID="RegularExpressionValidator24" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Dias</td>
                            <td>
                                <asp:TextBox ID="txtDiasVaca" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>Pago de primas</td>
                            <td>
                                <asp:DropDownList ID="ddPrimas" runat="server">
                                    <asp:ListItem>Si</asp:ListItem>
                                    <asp:ListItem>No</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>Saldo Vacaciones</td>
                            <td>
                                <asp:TextBox ID="txtSaldoVaca" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>Periodo:</td>
                            <td>
                                <asp:TextBox ID="txtPeriodoVaca" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>

                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegitraVaca" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegitraVaca_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaVaca" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaVaca_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField6" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos4" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdVacacionEmpleado" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos4_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="PeriodoInicial" 
                             HeaderText="Fecha Inicial"
                             SortExpression="PeriodoInicial" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="PeriodoFinal" 
                             HeaderText="Fecha Final"
                             SortExpression="PeriodoFinal" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Dias" 
                             HeaderText="Dias"
                             SortExpression="Dias" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="PagoPrima" 
                             HeaderText="Prima"
                             SortExpression="PagoPrima" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="SaldoVacaciones" 
                             HeaderText="Saldo"
                             SortExpression="SaldoVacaciones" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="VacacionesPeriodo" 
                             HeaderText="Periodo"
                             SortExpression="VacacionesPeriodo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>

                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
    </div>

    <div id="tab7" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Materiales en Custodia</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp6" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha de Entrega:</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoEnt" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator25" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoEnt" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender28" runat="server" TargetControlID="RegularExpressionValidator25" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesEnt" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator26" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesEnt" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender29" runat="server" TargetControlID="RegularExpressionValidator26" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaEnt" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator27" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaEnt" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender30" runat="server" TargetControlID="RegularExpressionValidator27" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha Devolucion</td>
<td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoDev" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator28" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoDev" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender31" runat="server" TargetControlID="RegularExpressionValidator28" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesDev" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator29" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesDev" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender32" runat="server" TargetControlID="RegularExpressionValidator29" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaDev" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator30" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaDev" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender33" runat="server" TargetControlID="RegularExpressionValidator30" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Materiales</td>
                            <td>
                                &nbsp;<asp:DropDownList ID="ddMateriales" 
                                    runat="server">
                                </asp:DropDownList>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Entrega/Devolucion</td>
                            <td>
                                <asp:DropDownList ID="ddEntregaRecep" runat="server">
                                    <asp:ListItem>Entrega</asp:ListItem>
                                    <asp:ListItem>Devolucion</asp:ListItem>
                                </asp:DropDownList>
                                </td>
                        </tr>
                        
                        <tr>
                            <td>
                                &nbsp;</td>

                            <td>
                                Cantidad</td>
                            <td> 
                                <asp:TextBox ID="txtCantidadMat" runat="server"></asp:TextBox> </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraMate" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraMate_Click"  />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaMate" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaMate_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField7" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos5" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdMaterialEmpleado" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos5_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripcion"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="FechaEntrega" 
                             HeaderText="Entrega"
                             SortExpression="FechaEntrega" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="FechaDevo" 
                             HeaderText="Devolucion"
                             SortExpression="FechaDevo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Cantidad" 
                             HeaderText="Cantidad"
                             SortExpression="Cantidad" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>


                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
    </div>

    <div id="tab8" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Movimientos Salariales</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp7" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha Incremento:</td>
                            <td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoInc" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator31" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoInc" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender34" runat="server" TargetControlID="RegularExpressionValidator31" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesInc" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator32" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesInc" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender35" runat="server" TargetControlID="RegularExpressionValidator32" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaInc" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator33" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaInc" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender36" runat="server" TargetControlID="RegularExpressionValidator33" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Sueldo Diario Act</td>
                            <td>
                                <asp:TextBox ID="txtSdoDiarioAct" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Sueldo Mensual Act</td>
                            <td>
                                <asp:TextBox ID = "txtSdoMenAct" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Sueldo Diario Nuevo</td>
                            <td>
                                <asp:TextBox ID = "txtSdoDiaNvo" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Sueldo Mensual Nuevo</td>
                            <td>
                                <asp:TextBox ID = "txtSdoMenNvo" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Bonos</td>
                            <td>
                                <asp:TextBox ID = "txtBonos" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Prestaciones</td>
                            <td>
                                <asp:TextBox ID = "txtPrestaciones" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraSalario" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraSalario_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaSalario" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaSalario_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField8" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos6" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdSalarioEmpleado" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                            GridLines="Horizontal" onselectedindexchanged="grdDatos6_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="FechaIncremento" 
                             HeaderText="Fecha incremento"
                             SortExpression="FechaIncremento" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="SueldoDiarioNuevo" 
                             HeaderText="Sueldo Diario"
                             SortExpression="SueldoDiarioNuevo" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="SueldoMensualNuevo" 
                             HeaderText="Sueldo Mensual"
                             SortExpression="SueldoMensualNuevo" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Bonos" 
                             HeaderText="Bonos"
                             SortExpression="Bonos" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Prestaciones" 
                             HeaderText="Prestaciones"
                             SortExpression="Prestaciones" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            </Columns>
                            </asp:GridView>
                            </table>
       </div>

    <div id="tab9" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Movimientos de Puesto</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp8" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Vigente Desde:</td>
                            <td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoVig" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator34" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoVig" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender37" runat="server" TargetControlID="RegularExpressionValidator34" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesVig" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator35" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesVig" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender38" runat="server" TargetControlID="RegularExpressionValidator35" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaVig" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator36" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaVig" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender39" runat="server" TargetControlID="RegularExpressionValidator36" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Puesto</td>
                            <td>
                                <asp:TextBox ID="txtPuestoMov" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Planta</td>
                            <td>
                                <asp:TextBox ID = "txtPlantaMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Departamento</td>
                            <td>
                                <asp:TextBox ID = "txtDepartamentoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Jefe Inmediato</td>
                            <td>
                                <asp:TextBox ID = "txtJefeInmediatoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Turno</td>
                            <td>
                                <asp:TextBox ID = "txtTurnoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Codigo Grupo Trabajo</td>
                            <td>
                                <asp:TextBox ID = "txtCodGpoTrabMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Nombre Grupo Trabajo</td>
                            <td>
                                <asp:TextBox ID = "txtNombreGpoTrabMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Codigo Depto</td>
                            <td>
                                <asp:TextBox ID = "txtCodigoDeptoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Nombre Depto</td>
                            <td>
                                <asp:TextBox ID = "txtNombreDeptoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Codigo Proyecto</td>
                            <td>
                                <asp:TextBox ID = "txtCodProyectoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Nombre Proyecto</td>
                            <td>
                                <asp:TextBox ID = "txtNombreProyMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Codigo Puesto</td>
                            <td>
                                <asp:TextBox ID = "txtCodigoPuestoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Nombre Puesto</td>
                            <td>
                                <asp:TextBox ID = "txtNombrePuestoMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Horario</td>
                            <td>
                                <asp:TextBox ID = "txtHorarioMov" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraMovPer" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraMovPer_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaMovPer" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaMovPer_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField9" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos7" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdPuestoEmpleado" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos7_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="VigenteDesde" 
                             HeaderText="Vigente Desde"
                             SortExpression="VigenteDesde" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Puesto" 
                             HeaderText="Puesto"
                             SortExpression="Puesto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Planta" 
                             HeaderText="Planta"
                             SortExpression="Planta" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Departamento" 
                             HeaderText="Departamento"
                             SortExpression="Departamento" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="JefeInmediato" 
                             HeaderText="Jefe Inmediato"
                             SortExpression="JefeInmediato" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Font-Size="X-Small" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Turno" 
                             HeaderText="Turno"
                             SortExpression="Turno" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="CodigoGpoTrabajo" 
                             HeaderText="Codigo Trab."
                             SortExpression="CodigoGpoTrabajo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="NombreGpoTrabajo" 
                             HeaderText="Nombre Trab."
                             SortExpression="NombreGpoTrabajo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="CodigoDepto" 
                             HeaderText="Codigo Dpto."
                             SortExpression="CodigoDepto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="NombreDepto" 
                             HeaderText="Nombre Dpto."
                             SortExpression="NombreDepto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="CodigoProyecto" 
                             HeaderText="Codigo Proyecto"
                             SortExpression="CodigoProyecto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="NombreProyecto" 
                             HeaderText="Nombre Proyecto."
                             SortExpression="NombreProyecto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="CodigoPuesto" 
                             HeaderText="Codigo Puesto"
                             SortExpression="CodigoPuesto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="NombrePuesto" 
                             HeaderText="Nombre Puesto."
                             SortExpression="NombrePuesto" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Horario" 
                             HeaderText="Horario"
                             SortExpression="Horario" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                            </asp:GridView>
                            </table>
       </div>

    <div id="tab10" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Capacitacion</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp9" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha Inicio:</td>
                            <td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoCapaIni" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator37" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoCapaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender40" runat="server" TargetControlID="RegularExpressionValidator37" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesCapaIni" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator38" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesCapaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender41" runat="server" TargetControlID="RegularExpressionValidator38" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaCapaIni" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator39" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaCapaIni" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender42" runat="server" TargetControlID="RegularExpressionValidator39" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha Fin:</td>
                            <td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoCapaFin" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator40" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoCapaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender43" runat="server" TargetControlID="RegularExpressionValidator40" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesCapaFin" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator41" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesCapaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender44" runat="server" TargetControlID="RegularExpressionValidator41" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaCapaFin" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator42" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaCapaFin" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender45" runat="server" TargetControlID="RegularExpressionValidator42" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Nombre Curso</td>
                            <td>
                                <asp:TextBox ID="txtNombreCurso" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Tipo Curso</td>
                            <td>
                                <asp:TextBox ID = "txtTipoCurso" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                               Institucion</td>
                            <td>
                                <asp:TextBox ID = "txtInstitucionCurso" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Instructor</td>
                            <td>
                                <asp:TextBox ID = "txtInstructorCurso" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Duracion</td>
                            <td>
                                <asp:TextBox ID = "txtDuracionCurso" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Acreditacion</td>
                            <td>
                                <asp:TextBox ID = "txtAcreditacionCurso" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraCurso" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraCurso_Click"  />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaCurso" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaCurso_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField10" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos8" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdCapacitacionEmpleado" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos8_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="FechaInicio" 
                             HeaderText="Fecha Inicio"
                             SortExpression="FechaInicio" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="FechaFin" 
                             HeaderText="Fecha Fin"
                             SortExpression="FechaFin" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="NombreCurso" 
                             HeaderText="Curso"
                             SortExpression="NombreCurso" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Tipo" 
                             HeaderText="Tipo"
                             SortExpression="Tipo" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Institucion" 
                             HeaderText="Institucion"
                             SortExpression="Institucion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Duracion" 
                             HeaderText="Duracion"
                             SortExpression="Duracion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Acreditacion" 
                             HeaderText="Acreditacion"
                             SortExpression="Acreditacion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                            </asp:GridView>
                            </table>
       </div>

    <div id="tab11" class="tab_content">
                    <table>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>&nbsp;</td><td>
                            &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                <img ="" src="images/icons/user.png"> </img></td>
                            <td class="center" colspan="2" style="font-size: large">
                                <strong>Reconocimientos</strong></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Empleado:&nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtNumEmp10" runat="server">No. Empleado</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Fecha </td>
                            <td align="left" colspan="2">
              <asp:DropDownList ID="txtAnoReco" runat="server" Width="50px">
              </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator43" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 4 dígitos" 
                      ValidationExpression="\d{1,4}" ControlToValidate="txtAnoReco" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender46" runat="server" TargetControlID="RegularExpressionValidator43" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>    
            
                 <asp:DropDownList ID="txtMesReco" runat="server" Width="50px">
                      <asp:ListItem>01</asp:ListItem>
                      <asp:ListItem>02</asp:ListItem>
                      <asp:ListItem>03</asp:ListItem>
                      <asp:ListItem>04</asp:ListItem>
                      <asp:ListItem>05</asp:ListItem>
                      <asp:ListItem>06</asp:ListItem>
                      <asp:ListItem>07</asp:ListItem>
                      <asp:ListItem>08</asp:ListItem>
                      <asp:ListItem>09</asp:ListItem>
                      <asp:ListItem>10</asp:ListItem>
                      <asp:ListItem>11</asp:ListItem>
                      <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator44" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtMesReco" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender47" runat="server" TargetControlID="RegularExpressionValidator44" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>
                             <asp:DropDownList ID="txtDiaReco" runat="server" Width="50px">
                             </asp:DropDownList>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator45" runat="server" 
                      ErrorMessage="Debe ser un número de máximo 2 dígitos" 
                      ValidationExpression="\d{1,2}" ControlToValidate="txtDiaReco" Display="None"></asp:RegularExpressionValidator>
            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender48" runat="server" TargetControlID="RegularExpressionValidator45" Width="350px"  HighlightCssClass="highlight" WarningIconImageUrl="~/images/icons/icon-warning.png" CloseImageUrl="~/images/icons/close.png" >
            </asp:ValidatorCalloutExtender>                                      
 
           </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                Evento</td>
                            <td>
                                <asp:TextBox ID="txtEventoReco" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                            <td>
                                Institucion</td>
                            <td>
                                <asp:TextBox ID = "txtInstituReco" runat="server"></asp:TextBox>
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="btnRegistraReco" runat="server" style="text-align: right" 
                                    Text="Registra" onclick="btnRegistraReco_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnEliminaReco" runat="server" Text="Eliminar" 
                                    onclick="btnEliminaReco_Click" />
                            </td>
                            <td>
                                <asp:HiddenField ID="HiddenField11" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td>
                                &nbsp;</td>
                            <td>
                    <asp:GridView ID="grdDatos9" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="IdRecoEmp" AutoGenerateColumns="False" CellPadding="4" 
                            GridLines="None" onselectedindexchanged="grdDatos9_SelectedIndexChanged" 
                                    ForeColor="#333333">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="&#847;"/>
                            <asp:BoundField 
                             DataField="Fecha" 
                             HeaderText="Fecha"
                             SortExpression="Fecha" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Evento" 
                             HeaderText="Evento"
                             SortExpression="Evento" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Font-Size="X-Small" />
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Institucion" 
                             HeaderText="Institucion"
                             SortExpression="Institucion" 
                             ControlStyle-Width="100px" >
                            <HeaderStyle Font-Size="X-Small" />
                            </asp:BoundField>
                            </Columns>
                            <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                            </asp:GridView>
                            </table>
       </div>

     <div id="tab12" class="tab_content">
            <table style="width: 700px">
              <tr class="td1">
                <td style="text-align: left" >
                    <asp:CheckBox ID="Documentacion_0" runat="server"  />
                    <label>
                    &nbsp;fotos</label>

                  <td>
                      <asp:Button ID="btnVer1" runat="server" Text="Ver imagen" onclick="btnVer1_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image2" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td2">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="2" id="Documentacion_1" runat="server" />
                    domicilio</label></td>

                  <td>
                      <asp:Button ID="btnVer2" runat="server" Text="Ver Imagen" onclick="btnVer2_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image3" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td1">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="3" id="Documentacion_2" runat="server" />
                    Estudios</label>

                  <td>
                      <asp:Button ID="btnVer3" runat="server" Text="Ver Imagen" onclick="btnVer3_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image4" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td2">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="4" id="Documentacion_3" runat="server"  />
                    IFE</label>

                  <td>
                      <asp:Button ID="btnVer4" runat="server" Text="Ver Imagen" onclick="btnVer4_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image5" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td1">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="5" id="Documentacion_4" runat="server" />
                    IMSS</label>

                  <td>
                      <asp:Button ID="btnVer5" runat="server" Text="Ver Imagen" onclick="btnVer5_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image6" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td2">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="6" id="Documentacion_5" runat="server" />
                    Acta</label>

                  <td>
                      <asp:Button ID="btnVer6" runat="server" Text="Ver Imagen" onclick="btnVer6_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image7" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td1">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="7" id="Documentacion_6" runat="server"  />
                    Recomendacion</label>

                  <td>
                      <asp:Button ID="btnVer7" runat="server" Text="Ver Imagen" onclick="btnVer7_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image8" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td2">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="8" id="Documentacion_7" runat="server" />
                    Policia</label>

                  <td>
                      <asp:Button ID="btnVer8" runat="server" Text="Ver Imagen" onclick="btnVer8_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image9" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>
              <tr class="td1">
                <td style="text-align: left" ><label>
                    <input type="checkbox" name="Documentacion" value="9" id="Documentacion_8" runat="server" />
                    Curp</label>

                  <td>
                      <asp:Button ID="btnVer9" runat="server" Text="Ver Imagen" onclick="btnVer9_Click" 
                           />
                  </td>
                  <td>
                    <asp:Image ID="Image10" runat="server" BorderStyle="Double" Height="153px" 
                    ImageUrl="~/images/icons/services-icon-5.jpg" Width="143px" />
                  </td>
              </tr>              
              
            </table>
     </div>

    </div>
    </table>            
    </form>
</asp:Content>
   
